package com.cy.pj.sys.pojo;

import java.io.Serializable;
// 封装菜单添加页面中的上级菜单
public class Node implements Serializable {
    private static final long serialVersionUID = -2617337561202536943L;
    private Integer id;
    private String name;
    private Integer parentId;
    public Integer getId() {
        return id;
    }
    public void setId(Integer id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public Integer getParentId() {
        return parentId;
    }
    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }
    @Override
    public String toString() {
        return "Node [id=" + id + ", name=" + name + ", parentId=" + parentId + "]";
    }

}
